<?php

//created 6/14/12
echo "<br>My Claims</br>";

$attributes = array('style' => 'display:inline;');

if (isset($claims)) {
    foreach ($claims as $key => $row) {
        
            
            if($row['0'] == '0') {
                    echo "<br>You have a claim($key) on title " . $row['1'] .", and may go to war to take control of it.";
                    echo form_open('character/intiate_claim_war',$attributes);
                    echo form_hidden('whichClaim',$key);
                    echo form_submit('submit','War!');
                    echo form_close();
                } else {
                    echo "<br>You are trying to fabricate a claim to title " . $row['1'];
                }
            
            
        
        
    }
    
    
}